﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostUploadPic.aspx.cs" Inherits="Test.PostUploadPic" %>

<%@ Register Src="usercontrol/PicUpLoad.ascx" TagName="PicUpLoad" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>

    <script src="js/LexunJS.js" type="text/javascript"></script>
    
    <script type="text/javascript">

        // 提交前验证

        function submitOK() {
            
            document.forms[0].submit();
        }
        
    </script>

</head>
<body>
    <form id="form1" action="Default.aspx" enctype="multipart/form-data" method="post">
    <uc1:PicUpLoad ID="PicUpLoad1" runat="server" />
    <br />
    <input id="Button1" type="button" value="提交上传" onclick="return submitOK()" />
    
    </form>
</body>
</html>
